# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年12月21日
"""
import numpy as np

a = [1,2,3]
data1 = np.mat(np.diag(a))
print(data1)
b = [4,5,6]
data2 = np.mat(np.diag(b))
print(data2)